//
//  timeLineCell.m
//  IntroductionApp
//
//  Created by brave on 11/08/01.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "timeLineCell.h"


@implementation timeLineCell

@synthesize timeLabel = _timeLabel;
@synthesize accountLabel = _accountLabel;
@synthesize twitterImage = _twitterImage;


- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}

- (void)dealloc
{
    [ _timeLabel release ];
    [ _accountLabel release ];
    [ _twitterImage release ];
    
    [super dealloc];
}

// Labelサイズ調整
-(void)setLabelHeight:(NSNumber*)Lheight{
    CGRect rect = self.accountLabel.frame;
    rect.size.height = [ Lheight floatValue ];
    
    // 動的に高さの変更ができなかったため
    if([ Lheight floatValue ] > 65){
        rect.size.height = 65;
    }
    
    self.accountLabel.frame = rect;
}



@end
